package com.vercon.otamirror.event;

public class AlarmEvent {

    public int totalTime = 0;
    public int currentTime = 0;
    public String alarmTitle = "";
    public boolean isCustom = false;

    public static final int ALARM_STATE_NOT_START = -1,ALARM_STATE_START = 1,ALARM_STATE_PAUSE = 2,ALARM_STATE_STOP = 3;
    public int alarmState = ALARM_STATE_NOT_START;

    public AlarmEvent(){}

    public AlarmEvent(int totalTime,int currentTime){
        this.currentTime = currentTime;
        this.totalTime = totalTime;
    }

    public AlarmEvent(int totalTime,int currentTime,String alarmTitle){
        this.currentTime = currentTime;
        this.totalTime = totalTime;
        this.alarmTitle = alarmTitle;
    }

    public AlarmEvent(int totalTime,int currentTime,String alarmTitle,int alarmState){
        this.currentTime = currentTime;
        this.totalTime = totalTime;
        this.alarmTitle = alarmTitle;
        this.alarmState = alarmState;
    }
}
